<template>
    <div id="OrdersTitle">
        <v-details :inputConfig="inputConfig" :detailData="inputData" :rules="rules" ref="input"></v-details>
    </div>
</template>

<script>
    import details from 'commons/Detail'
    import baseMixin from "@/mixins/BaseMixin";

    export default {
        props: {
            inputData: {
                type: Object,
            }
        },
        mixins: [baseMixin],
        name: "OrdersTitle",
        data() {
            return {}
        },
        computed: {
            inputConfig() {
                return [
                    [
                        {
                            type: "input",
                            label: this.$t('wave.totalorders'),
                            props: "totalorders",
                            disabled: true
                        },
                        {
                            type: "input",
                            label: this.$t('wave.totallines'),
                            props: "totallines",
                            disabled: true
                        },
                        {
                            type: "input",
                            label: this.$t('in.totalpoqty'),
                            props: "totalqty",
                            disabled: true
                        },
                    ],
                    [
                        {
                            type: "input",
                            label: this.$t('out.totalcube'),
                            props: "totalcube",
                            disabled: true
                        },
                        {
                            type: "input",
                            label: this.$t('wave.totalgrosswgt'),
                            props: "totalgrosswgt",
                            disabled: true
                        },
                        {
                            type: "input",
                            label: this.$t('out.skuqty'),
                            props: "skuvariety",
                            disabled: true
                        }
                    ],
                    [
                        {
                            type: "input",
                            label: this.$t('out.wavetype'),
                            props: "locationtype",
                            disabled: true
                        },
                        {
                            type: "input",
                            label: this.$t('wave.locationcategory'),
                            props: "locationcategory",
                            disabled: true
                        },
                    ]
                ]

            },
            rules() {
                return {}
            }
        },
        methods: {},
        mounted() {

        },
        watch: {},
        components: {
            'v-details': details
        }
    }
</script>

<style scoped>

</style>
